import http from '@/design/libs/request/request'

const BASE_URL = '/rebatenew/refund'

export default {
  // 获取列表数据
  list: data => http.post(BASE_URL + '/list', data),
  // 退券
  refundCouponLJFQ: data => http.post(BASE_URL + '/refundCouponLJFQ', data),
  // 获取小票数据
  rebateordersbyid: data => http.post(BASE_URL + '/rebateordersbyid', data),

  // 退券-(单笔返券/单笔加赠/累计加赠)
  refundCoupon: data => http.post(BASE_URL + '/refundCoupon', data)
}

